Skip to content

playground: Add missing supported packages. #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 29, 2015

Conversation

dmitshur
Copy link
Member

In commit ef99944, I've run update.sh to generate the latest playground. In the diff, it's visible that 3 files were removed:

  • playground/pkg/encoding/gob.a.js
  • playground/pkg/go/build.a.js
  • playground/pkg/go/doc.a.js

That means they were previously built but not anymore with the latest version (possibly because the imports graph of standard library has changed in Go 1.5, so they are no longer dependencies, or possibly they were included erroneously). They are not explicitly listed in the list of packages to install and include.

According to the current compatibility table, 2 of those 3 packages are supported (encoding/gob and go/doc). Add them to the update.sh script so they are included.

Also add go/ast explicitly since it's supported. It was already built (as a dependency), but this will ensure it'll always be included even if it's no longer a dependency.

In commit ef99944, I've run update.sh to generate the latest playground. In the diff, it's visible that 3 files were removed:

-	playground/pkg/encoding/gob.a.js
-	playground/pkg/go/build.a.js
-	playground/pkg/go/doc.a.js

That means they were previously built but not anymore with the latest version (possibly because the imports graph of standard library has changed in Go 1.5, so they are no longer dependencies, or possibly they were included erroneously). They are not explicitly listed in the list of packages to install and include.

According to the current compatibility table, 2 of those 3 packages are supported (encoding/gob and go/doc). Add them to the update.sh script so they are included.

Also add go/ast explicitly since it's supported. It was already built (as a dependency), but this will ensure it'll always be included even if it's no longer a dependency.
@dmitshur dmitshur force-pushed the add-missing-supported-std-pkgs branch from 0582871 to 0760f83 Compare August 29, 2015 08:09
@dmitshur
Copy link
Member Author

I've tested the PR with this program and it works well.

@neelance
Copy link
Member

LGTM

dmitshur added a commit that referenced this pull request Aug 29, 2015
playground: Add missing supported packages.
@dmitshur dmitshur merged commit 0bd6304 into master Aug 29, 2015
@dmitshur dmitshur deleted the add-missing-supported-std-pkgs branch August 29, 2015 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants